package com.example.common.webSocket;

import lombok.Data;

@Data
public class SendSocket {
    public String type;//socket类型
    public String message;//socket提示信息
    public Object data;//socket携带数据

    @Override
    public String toString() {
        return "{" +
                "\"type\"=\"" + type + "\"" +
                ",\"message\"=\"" + message + "\"" +
                ",\"data\"=\"" + data + "\"" +
                "}";
    }
}
